<template>
  <div class="home">
    <ul>
      <div v-for="item in $store.state.banners" :key="item">
        <li>
          {{ item.title }}
        </li>
      </div>
    </ul>
  </div>
</template>

<script setup>
import { useStore } from 'vuex'
const store = useStore()
store.dispatch('asynAction')
</script>

<style scoped></style>
